home *** CD-ROM | disk | FTP | other *** search
- . ../../../config/system
- . ../../../config/site
-
- echo Building Makefile.local...
- cat <<EOT >Makefile.local
- # This Makefile was produced by running ./build in this directory.
-
- SHELL=/bin/sh
-
- CC= ${cc-cc}
- CFLAGS= $cflags $obj_cflags
- LINTFLAGS= $lintflags
-
- XTDIR= ../../xt
-
- O= \$(XTDIR)/accelerator.o\\
- \$(XTDIR)/action.o\\
- \$(XTDIR)/callback.o\\
- \$(XTDIR)/class.o\\
- \$(XTDIR)/context.o\\
- \$(XTDIR)/converter.o\\
- \$(XTDIR)/error.o\\
- \$(XTDIR)/function.o\\
- \$(XTDIR)/identifier.o\\
- \$(XTDIR)/init.o\\
- \$(XTDIR)/objects.o\\
- \$(XTDIR)/popup.o\\
- \$(XTDIR)/resource.o\\
- \$(XTDIR)/translation.o\\
- \$(XTDIR)/widget.o
-
- .c.o:
- @echo ""
- @echo === Must make files in \$(XTDIR) first\! ===
- @echo ""
-
- EOT
- if [ _$load_obj != _ ]; then
- cat <<EOT >>Makefile.local
- xt-motif.pre: \$(O) ../../xlib/xlib.pre
- ../../../scripts/linkext.$load_obj \$@ \$(O) -u _XmIsMotifWMRunning\\
- $libmotif $libxt ../../xlib/xlib.pre $libxlib
- chmod 644 \$@
-
- install: xt-motif.pre
- -@if [ ! -d $lib_dir ]; then \\
- echo mkdir $lib_dir; \\
- mkdir $lib_dir; \\
- fi
- cp xt-motif.pre $lib_dir/xt-motif.o
- EOT
- else
- cat <<EOT >>Makefile.local
- install:
- EOT
- fi
- cat <<EOT >>Makefile.local
-
- lint:
-
- clean:
- rm -f *.o xt-motif.pre core
-
- distclean:
- rm -f *.o xt-motif.pre core Makefile.local
- EOT
-